<?php $this->load->module('mobile/index/header', $common);?>
<div class="wrap" >
    <div class="container">
        <div class="blank5"></div>
        <div class="jdsearch"><!--搜索-->
            <form action="" method="post" id="searchForm" onsubmit="$('.search_btn').trigger('click');return false;">
                <input type="text" id="search_name" autocomplete="off" placeholder="输入景点名/城市/关键字...">
                <a href="javascript:void(0)" class="search_btn"></a>
            </form>
        </div>
        <div class="xzcs">
            <div class="xzcs-title">
                <span>现在位置</span>
            </div>
            <div class="xzwz"><?php echo CURRENT_CITY_NAME?> </div>
            <div class="xzwz"><a style="color:#fff" href="<?php echo site_url('mobile/scenery/index');?>">全部</a></div>

            <div class="xzcs-title">
                <span>常用位置</span>
            </div>
            <div class="cywzbox cl">
            <ul>
                <?php foreach ($area_list as $v) {
                    ?>
                    <li><div class="cywz"><a style="color:#2ca6e0" href="<?php echo site_url('mobile/scenery/index/?p='.$province.'&c='.$v['id'])?>"><?php echo $v['name']?></a></div></li>
                <?php
                }
                ?>
            </ul>
            </div>
        </div>
        <div class="xzcslist" id="getcity">
            <div class="xzcs-title">
                <span class="span" id="a">华东</span>
            </div>
            <ul>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2500&c=0')?>">上海</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1600&c=0')?>">江苏</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=3400&c=0')?>">浙江</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=100&c=0')?>">安徽</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=400&c=0')?>">福建</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2400&c=0')?>">山东</a></li>
            </ul>

            <div class="xzcs-title">
                <span class="span" id="b">华北</span>
            </div>
            <ul >
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=200&c=0')?>">北京</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=3000&c=0')?>">天津</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1000&c=0')?>">河北</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2600&c=0')?>">山西</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2100&c=0')?>">内蒙古</a></li>
            </ul>

            <div class="xzcs-title">
                <span class="span" id="c">西北</span>
            </div>
            <ul>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2700&c=0')?>">陕西</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=3100&c=0')?>">新疆</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2300&c=0')?>">青海</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=500&c=0')?>">甘肃</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2200&c=0')?>">宁夏</a></li>
            </ul>

            <div class="xzcs-title">
                <span class="span" id="c">华南</span>
            </div>
            <ul>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=600&c=0')?>">广东</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=700&c=0')?>">广西</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=900&c=0')?>">海南</a></li>
            </ul>

            <div class="xzcs-title">
                <span class="span" id="c">东北</span>
            </div>
            <ul>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1900&c=0')?>">辽宁</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1800&c=0')?>">吉林</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1100&c=0')?>">黑龙江</a></li>
            </ul>

            <div class="xzcs-title">
                <span class="span" id="c">港澳台</span>
            </div>
            <ul>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1300&c=0')?>">香港</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2900&c=0')?>">台湾</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2002&c=0')?>">澳门</a></li>
            </ul>

            <div class="xzcs-title">
                <span class="span" id="c">华中</span>
            </div>
            <ul>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1400&c=0')?>">湖北</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1500&c=0')?>">湖南</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1700&c=0')?>">江西</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=1200&c=0')?>">河南</a></li>
            </ul>

            <div class="xzcs-title">
                <span class="span" id="c">西南</span>
            </div>
            <ul>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=300&c=0')?>">重庆</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=2800&c=0')?>">四川</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=800&c=0')?>">贵州</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=3200&c=0')?>">西藏</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=3300&c=0')?>">云南</a></li>
            </ul>

            <div class="xzcs-title">
                <span class="span" id="c">境外</span>
            </div>
            <ul>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=3900&c=0')?>">亚洲</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=3600&c=0')?>">欧洲</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=3700&c=0')?>">北美洲</a></li>
                <li><a href="<?php echo site_url('mobile/scenery/index/?p=4100&c=0')?>">大洋洲</a></li>
            </ul>
        </div>
    </div>

</div>
<script>
    var url = '<?php echo site_url('mobile/scenery/index');?>';
    $('.search_btn').click(function () {
        keyword = $('#search_name').val();
        if(keyword.length> 0){
            keyword = encodeURIComponent(keyword);
            window.location.href = url+(url.indexOf("?") > -1 ? "&" : "?")+'keyword='+keyword;
        }
    });
</script>
<?php $this->load->module('mobile/index/footer', $common);?>